projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97365a8
)
reftest: No blinking, please
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 4 Nov 2021 00:43:01 +0000
(20:43 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 4 Nov 2021 00:43:01 +0000
(20:43 -0400)
Blinking cursors aren't helpful when we want to
compare renderings pixel-by-pixel. Turn them off.
testsuite/reftests/gtk-reftest.c
patch
|
blob
|
history
diff --git
a/testsuite/reftests/gtk-reftest.c
b/testsuite/reftests/gtk-reftest.c
index cd933004f457436b6a1fa0bd0ed576b91c5e15f5..232108f46ace48387f651183eae43888f12b26db 100644
(file)
--- a/
testsuite/reftests/gtk-reftest.c
+++ b/
testsuite/reftests/gtk-reftest.c
@@
-509,6
+509,13
@@
main (int argc, char **argv)
if (!parse_command_line (&argc, &argv))
return 1;
+ /* Override some settings that otherwise might affect
+ * the reliability of our output.
+ */
+ g_object_set (gtk_settings_get_default (),
+ "gtk-cursor-blink", FALSE,
+ NULL);
+
if (arg_base_dir)
basedir = arg_base_dir;
else